﻿using System.Text;

namespace Inovout.Data.Redis
{
    public class RedisInt64CommandParameter : RedisCommandParameter<long>
    {
        public RedisInt64CommandParameter(long value) : base(value) { }
        internal override byte[] BuildValueBytes()
        {
            //可按位数优化。
            return Encoding.UTF8.GetBytes(Value.ToString());

        }
    }
}
